package components.tools.cutouts
{
	import UIFree.uif_component;
	
	import api.clt_servers;
	
	import components.clt_previewItem;
	
	import flash.geom.Rectangle;

	public class clt_previewCutout extends clt_previewItem
	{
		public function clt_previewCutout(index:int, parent:uif_component, ax:int=0, ay:int=0, awidth:int=0, aheight:int=0, a_data: Object=null, styleClass:String='')
		{
			super(index, parent, ax, ay, awidth, aheight, a_data, styleClass);
			var inner: Rectangle = getInner();
			if (a_data != null) {
				_prevImage.loadSource(clt_servers.MASK_URL + a_data.id + '.jpg');
			}			
		}
		
	}
}